﻿@model trangbaocao.Models.ManufactorysModel
<div class="container_12">       
    <div class="grid_12">            
        <div class="module">
                <h2 align="right"><span><a href="@Url.Action("Index", "Manufactorys")">Quay lại</a></span></h2>                       
                <div class="module-body">
                @using (Html.BeginForm("AddNsx", "Manufactorys", FormMethod.Post, new { id = "AddNsx" }))
                {                      
                    <div align="center"><h3>THÊM MỚI NHÀ SẢN XUẤT</h3>
                        <div class="add_made" align="center"> 
                        <img src="@Url.Content("~/Content/Body/Images/Body_Images/Manufactorys.png")" width="12%" />
                        </div>
                    </div>
                    if (TempData["msg"] != null)
                    {                            
                        <span class="notification n-error">@TempData["msg"]</span>
                    }  
                    <p></p>       
                    <p align="center">
                        <label style="width:26%; text-align:left;">Nhà sản xuất:</label>
                            <div class="Manufactorys" align="center" style="padding-left: 10px; width: 100%">
                        
                                @Html.TextBoxFor(model => model.name, new { @name = "name", @class = "input-short" }) 
                       
                                <font color="red">(*)</font>
                                    <label style="width:28%; text-align:left;">
                                        @Html.ValidationMessageFor(model => model.name)
                                    </label>
                        </div>                                          
                    </p>
                    <p align="center">
                        <label style="width:26%; text-align:left;">Quốc gia:</label>
                        <div class="quocgia" align="center">
                        @Html.TextBoxFor(model => model.quoc_gia, new { @name = "quoc_gia", @class = "input-short" })
                        </div>
                    </p>                     
                    
                    <div class="button" align="center">
                        <p style="width:25%; text-align:left;">
                        <input class="submit-green" type="submit" value="Thêm"/> 
                        <input class="submit-gray" type="reset" value="Hủy" />
                        @*<input class="submit-gray" type="button"  onclick="location.href='@Url.Action("Index", "User")'" value="Quay lại" />*@
                        </p>
                    </div>
                }
                    
                </div> <!-- End .module-body -->

        </div>  <!-- End .module -->
        <div style="clear:both;"></div>
    </div> <!-- End .grid_12 --> 
    <div style="clear:both;"></div>
</div> <!-- End .container_12 -->